package cc.atliberty.creating.lazysingleton;

/**
 * @Author 元宵
 * @url www.atliberty.cc
 * @Date 2023-10-30 18:05
 * @description: 懒汉式单例类
 */
public class LazySingletonTest {
    public static void main(String[] args) {
        LazySingleton lazySingleton = LazySingleton.getInstance();
        LazySingleton lazySingleton1 = LazySingleton.getInstance();
        System.out.println(lazySingleton == lazySingleton1);
    }
}
